package cn.iocoder.yudao.module.agri.controller.admin.farmplan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 种养批次 Excel VO
 *
 * @author 广东小蜂
 */
@Data
public class FarmPlanExcelVO {

    @ExcelProperty("自增编号")
    private Long id;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("作物")
    private String crop;

    @ExcelProperty("基地")
    private String farmBase;

    @ExcelProperty("地块")
    private String farmLand;

    @ExcelProperty("面积")
    private Integer areaSize;

    @ExcelProperty("开始日期")
    private LocalDateTime beginDate;

    @ExcelProperty("预计产期")
    private LocalDateTime harvestDate;

    @ExcelProperty("种养批次")
    private String batchNo;

    @ExcelProperty("种养模型")
    private Long farmModel;

    @ExcelProperty(value = "安全标准", converter = DictConvert.class)
    @DictFormat("agri_farming_standard") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer standard;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("agri_farming_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

}
